__author__ = 'chenglin'
from wtforms.validators  import required,email,equal_to,regexp
from flask_babel import lazy_gettext as _

USERNAME_RE = r'^[\w.+-]+$'

is_username = regexp(USERNAME_RE,
                     message=_("You can only use letters, numbers or dashes"))


